KeyTyped

fun KeyTyped(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyTyped
fun KeyTyped(code: KeyCode, modifiers: KeyModifiers = KeyModifiers(), location: KeyLocation = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyTyped

Creates a new instance of KeyTyped event with the given parameters.

Since

8.0.0

Parameters

code

The code of the key.

modifiers

The keyboard modifiers.

location

The location of the key on the keyboard.

char

The character of the key.